﻿/// <reference path="../../yui-3.14-min.js" />
YUI.add('examen-model-list', function (Y) {

    Y.Examenes = Y.Base.create('Examenes', Y.ModelList, [Y.ExcellentModelSync.REST], {
        model: Y.Examen,
        url: 'http://localhost/ExcellentProject.Examenes/api/examenes',
        urlList: {
            listPaging: 'http://localhost/ExcellentProject.Examenes/api/examenes',
            examenesRendidosEstudiante: 'http://localhost/ExcellentProject.Examenes/ExamenesRendidos?idEstudiante={idPersona}'
        }
    });

}, '0.0.0.1', { requires: ['model-list', 'examen-model', 'model-sync-rest'] })